home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Kompuutteri Kaikille K-CD 2008 #18
/
KCD200818.ISO
/
Euro Truck
/
ets_1_00_setup.exe
/
base.scs
/
font
/
digi_hud_number.font
< prev
next >
Wrap
Text File
|
2008-07-25
|
3KB
|
72 lines
# SCS Font
# Max width: 17
# Max advance: 18
# Typical height 'above the line': 0 (height of letter 'M')
# Max pixels 'above the line': 18
# Max pixels 'below the line': 0
vert_span:18 # max difference between lowest and highest pixel in any two glyphs
line_spacing:2 # suggested number of pixels to put between lines
image:/font/digi_hud_number.mat
# P_x: starting column of glyph rectangle in the font bitmap
# P_y: starting row of glyph rectangle in the font bitmap
# W: width of the glyph rectangle
# H: height of the glyph rectangle
# L: left offset of the rectangle when placing it relative to current 'pen position'
# (negative value can be thought of as 'hard' kerning, but is used at the beginning of line too!)
# T: top offset of the rectangle when placing it relative to current 'pen position'
# (the 'pen' is expected to be at the level of topmost pixel of highest glyph)
# A: advance of the 'pen' for rendering of the following glyph
#NUM, P_x, P_y, W, H, L, T, A # character / glyph name
$032, 19, 58, 0, 0, 0, 18, 9 # ' ' / 'SPACE'
$048, 1, 1, 14, 18, 1, 0, 16 # '0' / 'DIGIT ZERO'
$049, 16, 1, 14, 18, 1, 0, 16 # '1' / 'DIGIT ONE'
$050, 30, 1, 14, 18, 1, 0, 16 # '2' / 'DIGIT TWO'
$051, 45, 1, 14, 18, 1, 0, 16 # '3' / 'DIGIT THREE'
$052, 1, 20, 14, 18, 1, 0, 16 # '4' / 'DIGIT FOUR'
$053, 16, 20, 14, 18, 1, 0, 16 # '5' / 'DIGIT FIVE'
$054, 30, 20, 14, 18, 1, 0, 16 # '6' / 'DIGIT SIX'
$055, 45, 20, 14, 18, 1, 0, 16 # '7' / 'DIGIT SEVEN'
$056, 1, 39, 14, 18, 1, 0, 16 # '8' / 'DIGIT EIGHT'
$057, 16, 39, 14, 18, 1, 0, 16 # '9' / 'DIGIT NINE'
$078, 31, 39, 17, 18, 0, 0, 18 # 'N' / 'LATIN CAPITAL LETTER N'
$082, 1, 58, 17, 18, 1, 0, 18 # 'R' / 'LATIN CAPITAL LETTER R'
# kerning...
kern: $048, $049, 0 # '0' -> '1'
kern: $048, $055, 0 # '0' -> '7'
kern: $049, $048, 0 # '1' -> '0'
kern: $049, $049, 0 # '1' -> '1'
kern: $049, $050, 0 # '1' -> '2'
kern: $049, $051, 0 # '1' -> '3'
kern: $049, $052, 0 # '1' -> '4'
kern: $049, $053, 0 # '1' -> '5'
kern: $049, $054, 0 # '1' -> '6'
kern: $049, $055, 0 # '1' -> '7'
kern: $049, $056, 0 # '1' -> '8'
kern: $049, $057, 0 # '1' -> '9'
kern: $050, $049, 0 # '2' -> '1'
kern: $050, $052, 0 # '2' -> '4'
kern: $050, $055, 0 # '2' -> '7'
kern: $051, $049, 0 # '3' -> '1'
kern: $051, $055, 0 # '3' -> '7'
kern: $052, $049, 0 # '4' -> '1'
kern: $052, $055, 0 # '4' -> '7'
kern: $053, $049, 0 # '5' -> '1'
kern: $053, $055, 0 # '5' -> '7'
kern: $054, $049, 0 # '6' -> '1'
kern: $054, $055, 0 # '6' -> '7'
kern: $055, $049, 0 # '7' -> '1'
kern: $055, $052, 0 # '7' -> '4'
kern: $055, $054, 0 # '7' -> '6'
kern: $055, $055, 0 # '7' -> '7'
kern: $056, $049, 0 # '8' -> '1'
kern: $056, $055, 0 # '8' -> '7'
kern: $057, $049, 0 # '9' -> '1'
kern: $057, $055, 0 # '9' -> '7'